package structs

type PointsReturnData struct {
	Type    string      `json:"type"`
	Data    interface{} `json:"data"`
	Success bool        `json:"success"`
}

func GetPointsReturnData(typestring string, data interface{}, isSuccess bool) PointsReturnData {

	return PointsReturnData{
		Type:    typestring,
		Data:    data,
		Success: isSuccess,
	}

}
